package com.atguigu.eduservice.service.zhonghan.qiancheng;

import com.atguigu.eduservice.entity.zhonghan.Customers;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author testjava
 * @since 2023-06-08
 */
@Service

public class QC_CustomersService_base {
    private BaseMapper<Customers> customersBaseMapperMapper;
    @Autowired
    public
    QC_CustomersService_base(BaseMapper<Customers> customersBaseMapperMapper) {
        this.customersBaseMapperMapper = customersBaseMapperMapper;
    }
    public
    List<Customers> getUsersByCondition(QueryWrapper<Customers> queryWrapper) {
        return customersBaseMapperMapper.selectList(queryWrapper);
    }

}
